const mongoose = require('mongoose')

const UserSchema = new mongoose.Schema({
    name: String,
    gender: String,
    nickName: String,
    account: String,
    password: String,
    email: String,
    createAt: {
        type: Date,
        default: Date.now
    }
})


const UserModel = mongoose.model('User', UserSchema);

module.exports = UserModel;